"""
    Author: Chris
    Time  : 2019/11/28 19:20
    File  : Serializers.py
"""

from rest_framework.serializers import ModelSerializer

from . import models

class BannserModelSerializer(ModelSerializer):

    class Meta:
        model = models.Banner
        fields = ['title','img','link','info']